package com.ant.backstage.facade.response.vo;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL) //为null的字段不返回
public class UserVo implements Serializable {

    private String uid;
    private String uname;
    private Integer age;
    private String uphone;
    //解密展示
    private String pwd;
    //TODO 后期转为具体地址
    private Integer addressid;
    private String createdatetime;
    private String status;
    private String gender;

//    @JsonIgnore //@JsonIgnore，只要加在指定属性上即可完成 json 序列化时自动忽略
    private List<JSONObject> routeList;

}
